package example.model;

import java.io.Serializable;

public class Author implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;	
	
	 private String surname;
	 private String name;
	 private String tel;
	 private String email;

	 
	 @Override
	 public String toString() {
		 return surname + " " + name;
	 }

	 public String getSurname() {
		 return surname;
	 }
	 
	 public void setSurname(String surname) {
		 this.surname = surname;
	 }		 	 
	 
	 public String getName() {
		 return name;
	 }
	 
	 public void setName(String name) {
		 this.name = name;
	 } 

	 public String getTel() {
		 return tel;
	 }
	 
	 public void setTel(String tel) {
		 this.tel = tel;
	 }	 
	 
	 public String getEmail() {
		 return email;
	 }
	 
	 public void setEmail(String email) {
		 this.email = email;
	 }		 

	public Author(String surname, String name, String tel, String email) {
		super();
		this.surname = surname;
		this.name = name;
		this.tel = tel;
		this.email = email;
	}
}

